<?php

if(!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

/**
 * 数据库配置
 * @author 徐亚坤 hdyakun@sina.com
 */

return array(
	
	'fetch' 	=> PDO::FETCH_CLASS,

	'connection' => array(
		'driver'    => 'mysql',
		'host'      => 'localhost',
		'database'  => 'madphp',
		'username'  => 'root',
		'password'  => 'root',
		'charset'   => 'utf8',
		'collation' => 'utf8_general_ci',
		'prefix'    => '',
	),
	
);